package org.big.kafkafinancesimulator.model;

import lombok.Data;

// 交易结果/成交回报
@Data
public class TradeResult {
    public enum Status { SUCCESS, FAILED }
    
    private String requestId;
    private String userId;
    private TradeRequest.Type type;
    private String symbol;
    private int quantity;
    private double executedPrice; // 成交价格
    private double totalAmount; // 总成交金额
    private Status status;
    private String message; // 失败原因等
}